import request from '@/common/request.js'
let IndexApi={
	getConfig(data={}){
		return request.post("/api/index/getConfig",data)
	},
	getTranslates(){
		console.log("IndexApi getTranslates")
		return request.post("/api/index/getTranslates",{})
	},
	sendMailCode(data={}){
		return request.post("/api/index/sendMailCode",data)
	},
	loginByCode(data={}){
		return request.post("/api/index/loginByCode",data)
	},
	checkUpdate(data={}){
		return request.post("/api/index/checkUpdate",data)
	}
}
export default IndexApi